package com.ronghuanet.user.service;

import com.ronghuanet.basic.util.AjaxResult;
import com.ronghuanet.user.dto.SmsCodeDto;

import java.io.IOException;

public interface IVerifyCodeService {
    /**
     * 通过key产生一个base图片亚那种马哥
     * @param key
     * @return
     */
    String getImageCode(String key) throws IOException;

    AjaxResult sendSmsCodeRegister(SmsCodeDto smsCodeDto);
}
